/*!
 * Copyright 2019 WeBank
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

@import '../../../assets/styles/variables.scss';

.side-bar {
    border-radius: 5px;
    width: 80%;
    margin: 0 auto;
    margin-top: 25px;
    font-size: 14px;
    overflow: hidden;
    box-shadow: $shadow-card;
    background-color: #fff;
    .classify {
        color: $title-color;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        border-bottom: 1px solid #e8eaec;
        padding: 12px 16px;
        line-height: 1;
        font-size: 14px;
        .icon-blod {
            font-weight: bold;
            cursor: pointer;
        }
    }
    .classify-item {
        height: 35px;
        padding: 12px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2px;
        cursor: pointer;
        &:hover,&.active {
            background-color: $background-color-base;
        }
        &:hover {
            .classify-action {
                display: inline-block;
            }
        }
        .classify-name {
            max-width: 125px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .classify-action {
            min-width: 40px;
            display: none;
        }
    }
    .last-item {
        margin: 0;
    }
}

.classify {
    color: $title-color;
    font-weight: bold;
    border-bottom: 1px solid #e8eaec;
    padding: 10px 20px;
    font-size: 14px;
    .icon-blod {
        font-weight: bold;
        cursor: pointer;
    }
}
.category-col {
    padding: 10px
}
.card {
    height: 80px
}
